﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace DAL
{
    public class DeductPercentage
    {
        public static void update(DeductPercentageEntity dpEnt)
        {
            DbHelper.ExecuteNonQuery("p_DeductPercentage_update",dpEnt.dpid,dpEnt.seasonRate,dpEnt.yearendRate);
        }

        public static DataTable list()
        {
            return DbHelper.ExecuteDataTable("p_DeductPercentage_list");
        }
    }
}
